﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using zhangmenren.Db;
using zhangmenren.Models;

namespace zhangmenren.IService
{
    public interface ICensusService: IDependency
    {
        Task<int> Add(CensusEntity entity);
        Task<IEnumerable<CensusEntity>> FindByUserId(int id);
        Task<IEnumerable<CensusEntity>> FindByWorkId(int id);
        Task<int> Del(int id);
    }
}
